﻿<Window x:Class="MediaBrowser.Gui.Views.SplashScreenMB"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Media Browser" Height="250" Width="450" WindowStartupLocation="CenterScreen" WindowStyle="None" ResizeMode="NoResize"
    Icon="/Images/Icons/mediaBrowser.ico">
    
    <Window.DataContext>
        <Binding Mode="OneWay" Path="SplashScreenMB" Source="{StaticResource Locator}"/>
    </Window.DataContext>
    
    <Grid>
    	<Border BorderBrush="{DynamicResource BackGrdCustom}" BorderThickness="2">
    		<Canvas Background="{DynamicResource BackgroundCustom}">
    			<ProgressBar x:Name ="progressBar" Canvas.Left="100" Canvas.Top="152" Height="10" Width="286" Value="{Binding ValueProgress}"/>
    			<Label x:Name="label" Canvas.Left="100" Canvas.Top="69" Height="40" Width="257" FontSize="32" Foreground="WhiteSmoke" Content="{Binding LBName}" RenderTransformOrigin="0.5,0.5" FontWeight="Bold">
    				<Label.Effect>
    					<DropShadowEffect BlurRadius="10"/>
    				</Label.Effect>
    				<Label.RenderTransform>
    					<TransformGroup>
    						<ScaleTransform/>
    						<SkewTransform/>
    						<RotateTransform/>
    						<TranslateTransform/>
    					</TransformGroup>
    				</Label.RenderTransform>
    			</Label>
    			<Label Canvas.Right="6" Canvas.Top="6" Foreground="WhiteSmoke" Content="{Binding LBVersion}"/>
    			<Label x:Name ="lbInfos" Canvas.Left="100" Canvas.Top="133" Height="13" Content="{Binding LBInfo, UpdateSourceTrigger=PropertyChanged}">
    				<Label.Foreground>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#FFF27878" Offset="0"/>
    						<GradientStop Color="#FFCD0505" Offset="1"/>
    					</LinearGradientBrush>
    				</Label.Foreground>
    			</Label>
    		</Canvas>
    	</Border>
    </Grid>
</Window>
